package com.wms.test;

import java.io.UnsupportedEncodingException;

public class test {

	public static void main(String[] args) throws Exception {
		
//		String ciphertext = "96CA560F997346F074D07E94B737D429";
//		//ciphertext = ciphertext.toUpperCase();  
//	    int length = ciphertext.length() / 2;  
//	    char[] hexChars = ciphertext.toCharArray();  
//	    byte[] content = new byte[length];  
//	    int pos;
//	    for (int i = 0; i < length; i++) {  
//	        pos = i * 2;  
//	        content[i] = (byte) ( "0123456789ABCDEF".indexOf(hexChars[pos]) << 4 |  "0123456789ABCDEF".indexOf(hexChars[pos + 1]));  
//	    }  
//		
//	    String res = new String(content,0,content.length,"GBK");
//	    
//		System.out.println(res);
		
		System.out.println(java.net.URLEncoder.encode("96CA560F997346F074D07E94B737D429"));
	}

}
